package com.yidu.t299.domain.xp;

import java.io.Serializable;

/**
 * 采用Mybatis逆向生成自动生成 @Data替代实体类的方法
 *  -- 许盼
 */
public class StudentChange implements Serializable {
    /*
    有一些字段不需要显示出来 所以为空时等于0 前端传过来调用方法赋值
    就不会出现xx字段不能为空的bug
    */
    private Integer studentchangeId=0;
    private Integer studentId=0;
    private String studentchangeDate="";
    private Integer classId=0;
    private Integer schoolId=0;
    private String studentchangeBackfield="";
    private String studentchangeBackclass="";
    private Integer recordId=0;

    //相关联表属性
    private String studentName;
    private String className;
    private String schoolName;
    private String recordName;

    public Integer getStudentchangeId() {
        return studentchangeId;
    }

    public void setStudentchangeId(Integer studentchangeId) {
        this.studentchangeId = studentchangeId;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getStudentchangeDate() {
        return studentchangeDate;
    }

    public void setStudentchangeDate(String studentchangeDate) {
        this.studentchangeDate = studentchangeDate;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public String getStudentchangeBackfield() {
        return studentchangeBackfield;
    }

    public void setStudentchangeBackfield(String studentchangeBackfield) {
        this.studentchangeBackfield = studentchangeBackfield;
    }

    public String getStudentchangeBackclass() {
        return studentchangeBackclass;
    }

    public void setStudentchangeBackclass(String studentchangeBackclass) {
        this.studentchangeBackclass = studentchangeBackclass;
    }

    public Integer getRecordId() {
        return recordId;
    }

    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getRecordName() {
        return recordName;
    }

    public void setRecordName(String recordName) {
        this.recordName = recordName;
    }

    @Override
    public String toString() {
        return "StudentChange{" +
                "studentchangeId=" + studentchangeId +
                ", studentId=" + studentId +
                ", studentchangeDate='" + studentchangeDate + '\'' +
                ", classId=" + classId +
                ", schoolId=" + schoolId +
                ", studentchangeBackfield='" + studentchangeBackfield + '\'' +
                ", studentchangeBackclass='" + studentchangeBackclass + '\'' +
                ", recordId=" + recordId +
                ", studentName='" + studentName + '\'' +
                ", className='" + className + '\'' +
                ", schoolName='" + schoolName + '\'' +
                ", recordName='" + recordName + '\'' +
                '}';
    }
}